package com.appspot.didit.client.statistic;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;

import javax.jdo.annotations.Persistent;

public class StatisticResult implements Serializable{

	private static final long serialVersionUID = 904999294186130053L;
	
	protected ArrayList<String> labels;
	protected ArrayList<String> labelsForExport;
	protected ArrayList<Double> data;
	Map<String, Map<String, Double>> complexData = new HashMap<String, Map<String, Double>>();
	Map<String, Double> keys = new HashMap<String, Double>();
	protected Double sum;
	
	public Double getSum() {
		return sum;
	}

	public void setSum(Double sum) {
		this.sum = sum;
	}

	public Map<String, Map<String, Double>> getComplexData() {
		return complexData;
	}

	public Map<String, Double> getKeys() {
		return keys;
	}

	public void setKeys(Map<String, Double> keys) {
		this.keys = keys;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

	public void setComplexData(Map<String, Map<String, Double>> complexData) {
		this.complexData = complexData;
	}

	public ArrayList<String> getLabels() {
		return labels;
	}
	
	public void setLabels(ArrayList<String> labels) {
		this.labels = labels;
	}
	
	public ArrayList<Double> getData() {
		return data;
	}
	
	public void setData(ArrayList<Double> data) {
		this.data = data;
	}
	
	public ArrayList<String> getLabelsForExport() {
		return labelsForExport;
	}

	public void setLabelsForExport(ArrayList<String> labelsForExport) {
		this.labelsForExport = labelsForExport;
	}

}
